﻿using System.Windows.Controls;
using Airborne.ScrumPoker.Model.TeamFoundation;

namespace Airborne.ScrumPoker.Module.Developer.Views
{
    /// <summary>
    /// Interaction logic for WorkItemDetailView.xaml
    /// </summary>
    public partial class WorkItemDetailView : UserControl, IWorkItemDetailView
    {
        public WorkItemDetailView()
        {
            InitializeComponent();
        }

        public ITeamWorkItem WorkItem
        {
            get
            {
                return DataContext as ITeamWorkItem;
            }
            set
            {
                DataContext = value;
            }
            
        }
    }
}
